package cn.zyx.oa.mapper;

import cn.zyx.oa.entity.OaNotify;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 通知通告MAPPER接口
 *
 * @author zyx
 */
@Mapper
public interface OaNotifyMapper {

    /**
     * 获取通知数目
     *
     * @param oaNotify
     * @return
     */
    public Long findCount(OaNotify oaNotify);

    OaNotify get(String id);

    List<OaNotify> findList(OaNotify oaNotify);

    void save(OaNotify oaNotify);

    int delete(OaNotify oaNotify);

    Integer findPageCount(OaNotify oaNotify);
}